package com.ltz.service.demo;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.ltz.dao.demo.DemoDao;

@Service("demoService")
public class DemoService {
	@Resource
	private DemoDao demoDao;
	public String test(){
		System.out.println("demoService");
		demoDao.test();
		return "xiao王";
	}
}
